<div class="row">
    <div class="col-md-12">
        <div class="box">
            <div class="box-header with-border">
            </div>
            <!-- /.box-header -->
            <div class="box-body">
                <table class="table table-bordered">
                    <tbody><tr>
                        <th style="width: 10px">ID</th>
                        <th style="width: 400px">名称</th>
                        <th>网址</th>
                        <th>状态</th>
                        <th>申请时间</th>
                        <th>审核时间</th>
                        <th></th>
                    </tr>
                    {{range $i, $v := .list}}
                        <tr>
                            <td>{{$v.ID}}</td>
                            <td>{{$v.Title}}</td>
                            <td>{{$v.Url}}</td>
                            {{if eq $v.Status "审核中"}}
                                <td style="color:gold">{{$v.Status}}</td>
                            {{else if eq $v.Status "通过"}}
                                <td style="color: green">{{$v.Status}}</td>
                            {{else if eq $v.Status "不通过"}}
                                <td style="color: red">{{$v.Status}}</td>
                            {{end}}
                            <td>{{$v.CreatedAt | TimeToDate}}</td>

                            <td>{{$v.VerifyTime | TimeToDate}}</td>
                            <td>
                                {{if ne $v.Status "通过"}}
                                <a href="/applys/update/{{$v.ID}}"><span class="label label-primary">审核</span></a>
                                {{end}}
                                <a onclick="javascript:return confirm('确认删除?')" href="/applys/del/{{$v.ID}}"><span class="label label label-danger">删除</span></a>
                            </td>
                        </tr>
                    {{end}}
                    </tbody>
                </table>
            </div>
            <!-- /.box-body -->
            {{.PageHtml | strToHtml}}
        </div>
    </div>
</div>